package com.promis;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class SharedPreferencesHolder {
	
	protected SharedPreferences sharedPreference;
	protected Editor editor;
	protected String packageName = "";
	protected Context context;

	protected SharedPreferencesHolder(Context context){
		this.context = context;
		this.packageName = context.getPackageName() + "_preferences";  
		this.sharedPreference = context.getSharedPreferences(packageName, Context.MODE_PRIVATE);
		this.editor = sharedPreference.edit();
    }
}
